package tools;

public class UrlDataHanding implements Runnable {
	public void dataHanding(String url){
		HrefOfPage.getHrefOfContent(DownloadPage.getContentFormUrl(url));
	}
	
	public void run(){
		while(!UrlQueue.isEmpty()){
			dataHanding(UrlQueue.outElem());
		}
	}
}
